//
//  SecMyCell.m
//  天下事
//
//  Created by dlios on 15-7-11.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "SecMyCell.h"
#import "NewsModel.h"
#import "UIImageView+WebCache.h"
@implementation SecMyCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)setNewsmodel:(NewsModel *)newsmodel{
    _newsmodel = newsmodel;
    self.secTitle.text = self.newsmodel.title;
    [self.secImg sd_setImageWithURL:[NSURL URLWithString:self.newsmodel.imgsrc]];
    self.Intro.text = self.newsmodel.digest;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)dealloc {
    [_Intro release];
    [super dealloc];
}
@end
